home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / utf.h < prev    next >
C/C++ Source or Header  |  1998-09-15  |  927b  |  32 lines

  1. /*
  2.  * @(#)utf.h    1.7 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. /*
  16.  * Prototypes for the various UTF support functions.
  17.  */
  18.  
  19. #ifndef _UTF_H_
  20. #define _UTF_H_
  21.  
  22. char *unicode2utf(unicode *unistring, int length, char *buffer, int buflength);
  23. int unicode2utfstrlen(unicode *unistring, int unilength);
  24. int utfstrlen(char *utfstring);
  25. void utf2unicode(char *utfstring, unicode *unistring, 
  26.         int max_length, int *lengthp);
  27. bool_t is_simple_utf(char *utfstring);
  28.  
  29. unicode next_utf2unicode(char **utfstring);
  30.  
  31. #endif /* !_UTF_H_ */ 
  32.